Enable the major mode after populating the buffer

    as the buffer is read-only