Insert blank citation/cross-reference
The toolbar/menu actions for inserting a citation or a cross-reference should insert a blank citation/cross-reference, then focus that node to display a search/pick interface for choosing which item to reference.
There should be an option to cancel, which will remove the inserted node.