test bar button to close