What first-time homebuyers need to know before closing the deal