Pop form to a new form

Hi everybody i have a question right now in my application my user can login and send a form which is a pop up form to the firebase database but how do i let my user do the same with a normal form and also edit him so when he presses the edit the info comes back on the form this is the code i have up to now .

http://pastebin.com/8wRmUvJt