diff --git a/css/token.css b/css/token.css
index 5432f0f..ca201b8 100644
--- a/css/token.css
+++ b/css/token.css
@@ -1,3 +1,8 @@
+.token-tree-dialog {
+  border: 1px solid #6b6b6b;
+  border-radius: 5px 5px 0 0;
+  box-shadow: 0 0 10px #6b6b6b;
+}
 
 .token-tree {
   font-size: 0.85em;
diff --git a/token.pages.inc b/token.pages.inc
index 023910b..026bc18 100644
--- a/token.pages.inc
+++ b/token.pages.inc
@@ -46,9 +46,10 @@ function template_preprocess_token_tree_link(&$variables) {
   $variables['options']['attributes'] += [
     'data-dialog-type' => 'dialog',
     'data-dialog-options' => json_encode([
+      'dialogClass' => 'token-tree-dialog',
       'width' => 600,
       'height' => 400,
-      'position' => ['my' => 'right bottom', 'at' => 'right bottom'],
+      'position' => ['my' => 'right bottom', 'at' => 'right-10 bottom-10'],
       'draggable' => TRUE,
       'autoResize' => FALSE,
     ]),
