How to display eck edit form in ctools modal or in other page?
The right way to load the edit form of a custom entity bundle created with ECK is by using the eck__entity__edit function provided by the ECK module.

Usage example:

$output = eck__entity__edit($entity_type_name, $entity_bundle_name, $entity_id);