OK and Smart Minimize Button
The Smart Minimize (X) button does not close the application but minimizes it by putting it behind the desktop/today window. The OK button closes the frame. Which button appears on the navigation bar is decided by the IsTitled, IsClosable, and IsMinimizable attributes of the FrameSource class.