DetailController and Mode enum