Merge commands/close_view.go with commands/view.go.