added sensor modal