Dissociate view and modal view in separated files