Waits before hiding the submitted form