Added head adding and removal on head dialog.