Bind escape and add medium mode