edit mode flag class when app loads in iframe editor