the submit button hangs and displays only "please wait" while photo widget is embedded and no photo taken