ListModButtons Modal support

Added support for modal trigger to ListModButtons, now works with warning messages as well

<!---
@huboard:{"order":18.5,"milestone_order":136,"custom_state":""}
-->

copy paste....