[development] avoid resubmitting a form when refreshing