open doc in custom view