Form and cancel button changes