Fixed the dialog display on long clicking an ToDo item