Click a button to show the associated dialog type.