UI - fix for modal poping up on form submission