dialog behavior working as per usability spec