Fixes legacy action issue where the modal would load as a v7 modal instead of a menu dialog.