history support for N level dialogs
Dialog history: support n level dialogs. Make promise handlers more robust to unexpected errors.
Adding one() method
Unit tests for history