store current focus when constructing new dialog
build