prevet form submit for emtpy text editor