allow submit on click

I needed to be able to submit on a button click vs open so I added it here. Feel free to comment to move the code I added around, its been a while since Ive used widgets.