There's probably a better way to accomplish this - fixes welcome! Also fix the page reloading when enter hit inside the modal.