- check preconditions of dialogs

Fix for https://github.com/ItudeMobile/itude-mobile-ios-mobbl-framework/issues/21