Add ref rename support to the branch dialog