small change to ask dialog, add paramater to implementing interface