testing modal scripts