Bind submit instead of keypress to capture submit