added modal window for editing