Trying to close a navigator.... not working

I have a hotspot that opens a document in another database, The problem is that the Navigator and the view is being opened as well. I can get a handle on the view and close it, but I have a problem getting a handle on the Navigator. I have tried using script and also formulas but it is not working.

How can I close that navigator ?

@Command([OpenView]; “ABC”));

@Command([FileCloseWindow]);

@Command([OpenNavigator];“MainMenuNav”);

@Command([FileCloseWindow]);