When I click on this checkbox (inside the Modal form)
<input id="selectallcreate" type="checkbox" value="1" name="selectallcreate">
It will always return False using this code
if ($('#selectallcreate').is(':checked') == true){};
Also this code will work perfectly on any page that are NOT modal. Other then that the modal form operates perfectly.