esc key closes filter menu and space detail seperately with filter menu taking precedence when both are visible