Added delegate for callback on dismissed event