switch to correct frame to get dialog info