Set submit button optional for modal