add modal feature