Calling widget startup method only after the widget has been added to
the dom.