Renamed dialogs, also removed unneeded var