accepts alert dialog - fixes spec