Added dynamically added class for dialog open.