Adds form to page only when user requests

To avoid the form from appearing in every page, the form is inserted into the overlay only when the user opens the overlay.