Hide edit button when annotation is restricted