Invalid regex path should use the okOnlyDialog call