making sure submit button is enabled before it is shown.