disabled dialog and component resize