added cancel button to editor box