[1145] Fixes JS so that back/next buttons work in dataset/new

It appears the 'shown' event was never fired, but changing it to click seems to work as we would want.  Might be able to merge it into the disabled check as well.