         addRecipientsButton.setTitle(NSLocalizedString("preview view recipients add recipients button title", comment: "Add reciepients button"), forState: .Normal)
         sendButton.title = NSLocalizedString("preview view recipients send button title", comment: "Send button")
         
+        navigationController?.delegate = self
     }
     
     func webViewDidFinishLoad(webView: UIWebView) {


import UIKit

class PreviewViewController: UIViewController, RecipientsViewControllerDelegate, UIWebViewDelegate {
    
    var recipients = [Recipient]()
    var modules = [ComposerModule]()


    // the selected digipost address for the mailbox that should show as sender when sending current compsing letter
    var mailboxDigipostAddress : String?
    var currentShowingHTMLContent : String?


