add dialog, set focus