added overlay and modal