added "textInBox" to method ShowTextDialog