added config option to show permanent delete button