Restore Magit's open buffer in same window behavior