Add ability to submit from modal [MJ-131]