Restore modal headers
Remove references to branches