Fix the browse list add/rename divs to be able to handle different selector since its being use in different modal

Reviewer: Dan V

Issue: GCP-9015