Add alert, hide and clear inputs.