Added modalityType arguments to GuiUtils infoMessage, confirmDialog and errorMessage