Use a dialog view instead of creating a new window