Changes css selectors to dialog action