diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt
index e262e064f..44c34c13b 100644
--- a/src/ui/CMakeLists.txt
+++ b/src/ui/CMakeLists.txt
@@ -45,6 +45,7 @@ set(
dialogs/adjustscenedialog.cpp
dialogs/applyexpressiondialog.cpp
dialogs/commandpalette.cpp
+ dialogs/dialog.cpp
dialogs/durationrectsettingsdialog.cpp
dialogs/exportsvgdialog.cpp
dialogs/markereditordialog.cpp
@@ -116,6 +117,7 @@ set(
dialogs/adjustscenedialog.h
dialogs/applyexpressiondialog.h
dialogs/commandpalette.h
+ dialogs/dialog.h
dialogs/durationrectsettingsdialog.h
dialogs/exportsvgdialog.h
dialogs/markereditordialog.h
diff --git a/src/ui/dialogs/dialog.cpp b/src/ui/dialogs/dialog.cpp
new file mode 100644
index 000000000..b92806303
--- /dev/null
+++ b/src/ui/dialogs/dialog.cpp
@@ -0,0 +1,34 @@
+/*
+#
+# Friction - https://friction.graphics
+#
+# Copyright (c) Ole-André Rodlie and contributors
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# See 'README.md' for more information.
+#
+*/
+
+#include "dialog.h"
+
+using namespace Friction::Ui;
+
+Dialog::Dialog(QWidget *parent)
+ : QDialog(parent)
+{
+#ifdef Q_OS_MAC
+ setWindowFlag(Qt::Tool);
+#endif
+}
diff --git a/src/ui/dialogs/dialog.h b/src/ui/dialogs/dialog.h
new file mode 100644
index 000000000..13fe6f56a
--- /dev/null
+++ b/src/ui/dialogs/dialog.h
@@ -0,0 +1,44 @@
+/*
+#
+# Friction - https://friction.graphics
+#
+# Copyright (c) Ole-André Rodlie and contributors
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# See 'README.md' for more information.
+#
+*/
+
+#ifndef DIALOG_H
+#define DIALOG_H
+
+#include "ui_global.h"
+
+#include
+
+namespace Friction
+{
+ namespace Ui
+ {
+ class UI_EXPORT Dialog : public QDialog
+ {
+ Q_OBJECT
+ public:
+ explicit Dialog(QWidget *parent = nullptr);
+ };
+ }
+}
+
+#endif // DIALOG_H