Simplified the dialog templates