Create a new dialog if a different type of waypoint is selected
Renaming layout files so they correspond to the classes that handle them.
Fixing references