Support for BOTTOM_RIGHT Alignment

Added support to align popup with BOTTOM_RIGHT Alignment