Revert "Add dialog"

This reverts commit 6ddb69a19abe32d917e82d29bc1db589948dae60.