working on resetting flag submission text box