replaced delete with x button on the pictures page