Usage of modals instead of alerts