pass in docs to cat views, fix more button state