Hierarchical modal jQuery plugin