Add the code for the new templates dialog, the second commit which adds an action to the menu should be dropped when merging.
Add the code for the new templates dialog, the second commit which adds an action to the menu should be dropped when merging.