add modal window, validation