WM_CloseSheet Command

This will close the most recently accessed content window. A content window may be a schematic, symbol editor, graph, text editor or welcome page.