Form popup done

Added mechanics for popup form