positioning bug on dragging of dialog is fixed. (thanks jovination for catching that)