resourceDialog is no longer moved to body. This causes problems when reloading partial pages and is a relic of the old jquery ui days.