Answered my own question.
Not only do you add SET PF-STATUS 'STATUS_0100', you have to create the GUI Status object STATUS_0100 by double clicking it. In there, you simply add BACK, EXIT, and CANCEL to the buttons, and then the rest of the code will work. Very simple.