Is your submit button inside an HTML form with a post action? If so you don’t need to do that, remove any form or form action.
Also if you want values to persist after a page refreshing anyway, look up the new persistence
attribute: 📣 Dash 1.3.0 released