Moved from the selector based script resolution to the ResourceProvider based script resolution
fixed styles of modal dialogs