And make sure insert button only works after succesfull embed