fixed minor bug, calling another dialog