Converts element window from dialog into a normal div.