added delete gallery button and functionality