Issue #1998698 by larowlan, jibran, quicksketch: Allow Dialog Controller to work with form/entity form routes.