Open view and open detail implementation, not fully tested