Prevent the clicking on filename to open the file dialog when the post is locked.