Fixed bug with delete prompt not working after .ajax call