added options for modal position
added options for modal position