A bunch of stuff for the modal.