working on the browser modal