Implement definition files and show dialog when menu item clicked (new).