added a submit button and a popup output to FormPage