Fixed the 2 issues in #3223

Go to doc textbox now supports hitting enter without anything selected,
and also shows drop down upon focus.
Fixed delete doc issue