Added rule to identify and center dialogs