adding test code for dialog