Some stuff about the modal settings.