Fixed the DialogueBox not going away after being shown

|SOURCE|
[Linux/DialogueBox]
* When the user selects an option from the DialogueBox, it is properly disposed
  of, with the return value intact