Delete draft in pimo when Sidebar gets hidden
Fixed error when config string is not set