added edit preview buttons to form