add edit preview button