Change on demand dialog type