Refactored and rewrote Rebase dialog, so it will do a refresh after succeful rebase and show push link correctly