Init of setting modal.