Call ShowDialog method to show the dialog