public Window(ViewContext viewContext, IJavaScriptInitializer initializer) : base(viewContext, initializer) { Template = new HtmlTemplate(); ResizingSettings = new WindowResizingSettings(); PositionSettings = new WindowPositionSettings(); Actions = new WindowButtons(); defaultButtons.Each(button => Actions.Container.Add(button)); Animation = new PopupAnimation(); ContentHtmlAttributes = new RouteValueDictionary(); Scrollable = true; Visible = true; }