ListModButtons Modal support

Added support for modal trigger to ListModButtons, now works with warning messages as well
Why is `"modal" + i` in an array?