Add: enable to execute function before dispose of the model