few mods to make closing the modal cleaner, instead of fading out while sliding out