update modal to use published module