How can I close the popup form with link or button?