Changed edit_availability dialog