Is there a way to close the editor when running a map on standalone game mode

Hi, at the moment when I run any map on standalone game mode the editor is still open in the background. Is there a way to auto close it? I mean a command parameter for standalone game mode?

So while I am on editor mode and click on the play button on the toolbar (Play as ‘standalone game’), should close the editor and start the map as standalone game mode only.

Thank you