added progress hud when submitting