add appointment from calendar view using modal window