using a dialog object to handle timecard clicks. This dialog uses a
custom xml