Update scripts to the new dialog API of Solarus 1.1.