Form mode manager