Observation and control of resistive wall modes