Fix isDirty reference - it was being called on the bootstrap modal