added selecting to browser window