saner way to hook into magit-status-mode buffers