title: Smart file component(html5smartfile) not working
body: <p>I have been working on developing a custom extjs console to enable author drop an asset using <strong>html5smartfile</strong> component. But somehow, the html5smartfile component is not working the way it should. The Area where an author can drop an asset is not displaying. The same is working fine if I am creating a CQ5 dialog. But in my case where i have created a window it's not working.</p>
  
  <p>I have declared my smartfile component like this:</p>
  
  <pre><code>var assetLinkDropField = {
  xtype: 'html5smartfile',
  fieldLabel: 'Asset Link',
  ddAccept: 'video/.*',
  ddGroups: 'media',
  fileReferenceParameter: './linkUrl',
  name: './linkUrl',
  allowUpload: false,
  allowFileNameEditing: false,
  allowFileReference: true,
  transferFileName: false
  };
  </code></pre>
  
  <p>But this is rendering like this:</p>
  
  <p><img src="https://i.stack.imgur.com/o5ZmV.png" alt="enter image description here"></p>
  
  <p>After a lot of work, I found out that the CQ5 dialog updates the view for the component but in case of my window, I have to update it myself. Thus, with a slight manipulation, i just succeeded in displaying the drag area by tweaking the declaration like this:</p>
  
  <pre><code>var assetLinkDropField = {
  xtype: 'html5smartfile',
  fieldLabel: 'Asset Link',
  ddAccept: 'video/.*',
  ddGroups: 'media',
  fileReferenceParameter: './linkUrl',
  name: './linkUrl',
  allowUpload: false,
  allowFileNameEditing: false,
  allowFileReference: true,
  transferFileName: false,
  listeners: {
      afterlayout: function () {
          this.updateView();
      }
  }
  }
  </code></pre>
  
  <p>So now the panel looks like:</p>
  
  <p><img src="https://i.stack.imgur.com/3P0Tv.png" alt="enter image description here"></p>
  
  <p>But still the Drag and Drop is not working. My Window declaration is like this:</p>
  
  <pre><code>win = new CQ.Ext.Window({
                  height          : 750,
                  width           : 700,
                  layout          : 'anchor',
                  // animateTarget   : btn.el,
                  closeAction     : 'close', // Prevent destruction on Close
                  id              : 'manageLinkWindow',
                  title           : '&lt;b&gt;Multi Link Widget Dialog&lt;/b&gt;',
                  frame           : true,
                  draggable       : false,
                  modal           : false, //Mask entire page
                  constrain       : true,
                  buttonAlign     : 'center',
                  items : [assetLinkDropField]
                });
          }
  </code></pre>