Fixed bug in dialog