This dialog 'message moved to trash' should never occur in message windows. If a message is deleted from the message window options the next message in list should be automatically select, or just close the message pane. (Or give the user the option to choose)
That's an opinion, therefore a feature request not a bug.