How to make a pop-up form with a close option