Wrapped insertAtCaret in a queue call