Correct script to wait for visibility o delete button.