trying to dismiss calendar - still buggy