Reworked modal call and added a validation method for compatibility
Merge pull request #4 from nickryand/modal-group-pid

Reworked modal call and added a validation method for compatibility