kill buffer when quit image mode buffer.