Improve the creation modal

Don't close the modal window when one clicks anywhere else than in the window.