added jquery dialog for delete
added event for new slot