Updates dialog submit button