Working carousel in modal dialog