add modal window for purchases and sales views