Submit button stucks on Please wait