Page reloads and doesn't displays submit success message in firefox