Fix popup rendering before switching to post-render layout for correct content-based resize.
Finally, dynamic resizing of popup content. Popup location is not updated in realtime due to Ext.js issues with changing layout of previously rendered containers.