rm permalink button and dialog