Submit button get stuck at 'Please wait" when Take Photo Widget is empty (no photo taken)