final working and view of popup except calender