got the pop up dialgue to work