debug select dialog