Require dired-x before setting omit-mode.