a bit of messing with the modal