Add callback to post function when user do not want to submit form