lightirc: set cursor to end of edit text in dialogs