What is causing the submit button to not always appear?