title: closethick button disappear liferay popup 6.2
body: <p>I am migrating the AUI popup dialog window from liferay 6.1 to liferay 6.2. I see that there are some specific changes to be made. I had some problems with display of buttons but it is resolved now. But the problem is with the close icon (x) which should be on the top right corner. It disappeared suddenly as soon as I added a save button. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>myPopup = AUI().use('aui-base','liferay-util-window','aui-io-deprecated', 'event', 'event-custom', function(A) {
      var buttons =[{
          cssClass: 'button_close',
          label: 'Save',
          render:true,
          id: 'myPopupButton',
          on: {
          click: function() {
              myPopupSubmit();
          }}
      }];
  
  myPopup = Liferay.Util.Window.getWindow(
  {
      dialog: {
          title : a + ' mytitle',
          centered : true,
          height : 600,
          width : 500,
          draggable : true,
          resizable : true,
          modal : true,
          toolbars: {
              footer:buttons
          },
  
      }}).plug(A.Plugin.IO, {
          uri : url
      }).render();
      myPopup.show(); 
  });
  }
  </code></pre>
  
  <p>Please let me know if you have any idea on it..</p>
  
  <p>on <code>myPopupSubmit</code> I have also written code to close the popup as:</p>
  
  <pre><code>top.document.getElementById('closethick').click();
  </code></pre>
  
  <p>Since there is no <code>closethick</code> button it returns <code>null</code>.</p>