added custom assert dialog