#5 - Fix Issue 5 - Custom modal dialog

fix #5