fix basis.doc.ready and use it in basis.ui.popup/basis.ui.window, fix basis.ui.popup.Popup layout for case when body.position = static