Added comments to dialogs.
Documentation.