Fixes confirmation button redirect for ajax modules