add modal and tooltip