actions: pass around buffer instead of the parent view.