Checking if callback is defined. 

If not, normal confirm is displayed. It use tubaguy50035 commit.