displaying dialog when submit api call button is clicked. giving user ability to try again, forcing page reload.