Changed the layout of the detailed dialog to use Grid instead of Canvas