Fix for back button in document views