Added validate, title is optional (not required), isAsync
title is optional: This is so we can have both a custom body and the default title style.
bool validate: If true btnOkOnPress must return true/false in order to dismiss dialog or not
isAsync: Set to true if the btnOkOnPress function is asynchronous
Added validate, title is optional (not required), isAsync
title is optional: This is so we can have both a custom body and the default title style. bool validate: If true btnOkOnPress must return true/false in order to dismiss dialog or not isAsync: Set to true if the btnOkOnPress function is asynchronous