created modal to work with calendar