diff --git a/plugins/Annotations/stylesheets/annotations.less b/plugins/Annotations/stylesheets/annotations.less
index c92f96fe49775b1b801e6c740ddf86abd546c9ef..c825b42e438225ef5386a488b21c5baff7f42b7d 100755
--- a/plugins/Annotations/stylesheets/annotations.less
+++ b/plugins/Annotations/stylesheets/annotations.less
@@ -27,10 +27,6 @@
   margin-bottom: -5px;
 }
 
-.ui-dialog .evolution-annotations > span {
-  top: 25px;
-}
-
 body > .widget .evolution-annotations > span {
   top: -25px;
 }
diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index d591d440bea227bec70799bde8022d2ad36a4ad6..0561185de85aacc559f2ab18071dc955d11ea9c5 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -781,9 +781,6 @@ $.extend(DataTable.prototype, UIControl.prototype, {
                         ;
 
                     var annotationsCss = {left: 6}; // padding-left of .jqplot-graph element (in _dataTableViz_jqplotGraph.tpl)
-                    if (self.isWithinDialog(domElem)) {
-                        annotationsCss['top'] = -datatableFeatures.height() - annotationAxisHeight + noteSize / 2;
-                    }
 
                     // set position of evolution annotation icons
                     annotations.css(annotationsCss);
@@ -1422,19 +1419,23 @@ $.extend(DataTable.prototype, UIControl.prototype, {
     },
 
     handleExpandFooter: function (domElem) {
-        if (this.isWithinDialog(domElem)) {
-            return;
-        }
-
         var footerIcons = $('.dataTableFooterIcons', domElem);
 
         if (!footerIcons.length) {
             return;
         }
 
+        if (this.isWithinDialog(domElem)) {
+            $('.dataTableFeatures', domElem).addClass('expanded');
+        }
+
         var self = this;
         function toggleFooter(event)
         {
+            if (self.isWithinDialog(domElem)) {
+                return;
+            }
+
             var icons = $('.dataTableFooterIcons', domElem);
             $('.dataTableFeatures', domElem).toggleClass('expanded');
 
diff --git a/plugins/Dashboard/javascripts/dashboardWidget.js b/plugins/Dashboard/javascripts/dashboardWidget.js
index 94d6d750fb2a378527d93d4b38dd431de985a2a3..accd0aa2c2428cab266c524a5b4fa76221133502 100755
--- a/plugins/Dashboard/javascripts/dashboardWidget.js
+++ b/plugins/Dashboard/javascripts/dashboardWidget.js
@@ -295,6 +295,8 @@
 
             var width = Math.floor($('body').width() * 0.7);
 
+            var isFooterExpanded = $('.dataTableFeatures', this.element).hasClass('expanded');
+
             var self = this;
             this.element.dialog({
                 title: '',
@@ -305,6 +307,9 @@
                 autoOpen: true,
                 close: function (event, ui) {
                     self.isMaximised = false;
+                    if (!isFooterExpanded) {
+                        $('.dataTableFeatures', self.element).removeClass('expanded');
+                    }
                     $('body').off('.dashboardWidget');
                     $(this).dialog("destroy");
                     $('#' + self.uniqueId + '-placeholder').replaceWith(this);
@@ -315,6 +320,7 @@
                 }
             });
             this.element.find('div.piwik-graph').trigger('resizeGraph');
+            $('.dataTableFeatures', this.element).addClass('expanded');
 
             var currentWidget = this.element;
             $('body').on('click.dashboardWidget', function (ev) {